/*******************************************************************************
 * Copyright (c) 2012 Daniele Parisi.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     Daniele Parisi
 *     neb.inf@gmail.com
 *     http://www.danieleparisi.com/
 ******************************************************************************/
package org.jxreport.core.views;

import java.util.HashMap;

public class Title{// extends HTMLObject {

	public static final String H1 = "h1";
	public static final String H2 = "h2";
	public static final String H3 = "h3";
	
	String content;
	String type;

	protected HashMap<String, String> cssProperties =  new HashMap<String, String>();

	public Title() {
	}
//	public Title(Element viewElement, Table table) {
//		super(viewElement, table);
//
//		try{ this.type = viewElement.getAttribute("type"); }
//		catch(Exception e) { this.type = H2; }
//		
//		this.setContent(XMLUtils.getTextValue(viewElement, XMLValues.CONTENT));
//	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public HashMap<String, String> getCssProperties() {
		return cssProperties;
	}

	public void setCssProperties(HashMap<String, String> cssProperties) {
		this.cssProperties = cssProperties;
	}
}
